/*
 * Description: 报价FD估价任务调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Dongxu.Ni
 * Date: 2020/04/28 08:55
 */

import { httpPost } from '../../utils/axios-utils'

export function fdTaskList(obj, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/list', obj, authConfig)
}

export function fdTaskPageList(obj, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/pageList', obj, authConfig)
}

export function fdTaskAdd(obj, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/add', obj, authConfig)
}

export function fdTaskEdit(obj, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/edit', obj, authConfig)
}

export function fdTaskBatchAdd(arr, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/batchAdd', arr, authConfig)
}

export function fdTaskBatchEdit(arr, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/batchEdit', arr, authConfig)
}

export function fdTaskDelete(obj, authConfig) {
  return httpPost('/smart-cost/quote/cost-task/delete', obj, authConfig)
}
